package com.lw.mall.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 *   "id":4,
 *             "total":8999,
 *             "state":4,
 *             "orderTime":"2022-09-30 23:35:01",
 *             "name":"tomcat",
 *             "phone":"1234567878",
 *             "addr":"fdsakldfjasl;",
 *             "userId":1,
 *             "orderName":"ha"
 *         },
 */

/**
 * 用户卖出订单列表
 * 就是orderEntity 进行改造
 */
@Data
public class SellListVo {

    private Integer id; //订单id
    private Integer state; //订单状态
    private Date orderTime; //订单创建时间
    private String name;  //收货人姓名
    private BigDecimal total;  //金额
    private String phone;  //手机号
    private String addr;  //地址
    private String orderName; //订单name

}
